How do I convert a Long time to a video duration ?, Long TYPE
The video duration stored in the database is a Long type of millisecond/second time. Now we need to convert this time to the standard video duration format, in my opinion, this should be
How to Use substring in oracle Database CONVERT (varchar (12), getdate (), 112), substringgetdate
SqlserverI often need to perform some time-type field conversions, but I don't quite remember it. So I collected the following
Use convert in SQL server2000 to get the datetime data type style (full)Processing of date data formats, two examples:CONVERT (varchar (16), time one, 20) results: 2007-02-01 08:02/* time is generally a field in the GETDATE () function or data table
Processing of date data formats, two examples:CONVERT (varchar (16), time one, 20) results: 2007-02-01 08:02/* time is generally a field in the GETDATE () function or data table */CONVERT (varchar (10), time one, 23) Result: 2007-02-01/*varchar (10)
SQL Server often to operate some time type of field conversion, I do not quite remember, so collected some of the following Sqlserverconvertdatetime related information published in their own small station, convenient for their later use when
Analyze problems
UTC is actually the Greenwich Mean Time (GMT). It is measured at 0 degrees longitude. The local time in each region has a fixed time difference with UTC time, the local time in those regions is the effect of UTC time, time
My code:
Convert (date, mydatetime)
Bytes --------------------------------------------------------------------------------------------------------------------------
Generally, the time format stored in the database isYyyy-mm-DDHH: mm: SSIf you want
In SQL Server, I often need to perform some time-type field conversions, but I don't quite remember it. So I collected the following SqlserverConvertDateTime-related materials and posted them on my site, it is convenient for you to search for it
Using system;
Namespace expertlib. chinesespecial{# Region rmbexception/// /// Incorrect RMB conversion/// Public class rmbexception: system. Exception{Public rmbexception (string MSG): Base (MSG){}}# Endregion
/// /// Convert the digital format of
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.